﻿@model IEnumerable<lnxsj.web.Recruitment.Models.Employ>

@{
    string parentAction = (string)ViewBag.parentAction;
}

@Scripts.Render("~/Content/manage.js")
<h2>归档记录</h2>

<p>

</p>
    <table class="dataList" style="width:100%">
        <tr>
            <th>
                时间
                
            </th>
            <th>
                @Html.DisplayNameFor(model => model.姓名)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.入学年级)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.性别)
            </th>
            <th>
                出生年月
            </th>

            <th>
                @Html.DisplayNameFor(model => model.户口所在地_市)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.户口所在地_区)
            </th>

            <th>
                @Html.DisplayNameFor(model => model.原学校)
            </th>

            <th>
                @Html.DisplayNameFor(model => model.家庭地址)
            </th>

            <th></th>
        </tr>
    @if(Model!=null){
    foreach (var item in Model) {
        <tr id="list_@item.Id">
            <td class="datetime" style="line-height:28px">
                @item.填表时间.ToString("yyyy-MM-dd hh:mm")
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.姓名)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.入学年级)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.性别)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.出生年)
                <span>-</span>
                @Html.DisplayFor(modelItem => item.出生月)
            </td>


            <td>
                @Html.DisplayFor(modelItem => item.户口所在地_市)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.户口所在地_区)
            </td>


            <td>
                @Html.DisplayFor(modelItem => item.原学校)
            </td>


            <td>
                @Html.DisplayFor(modelItem => item.家庭地址)
            </td>


            <td>
                <a href="###" onclick="details(@item.Id)" >查看</a> |
                <a href="###" onclick="del(@item.Id)" >删除</a> 
            </td>
        </tr>
    }
    }
    
    </table>
